var obj={
  val:1,
   get getVal(){//getter() 会帮助执行
    return this.val
  }
}

// console.log(obj.getVal());
console.log(obj.getVal);
